import {HttpClient} from '@angular/common/http';
import {Injectable} from '@angular/core';
import {Observable} from "rxjs/Observable";

@Injectable()
export class AddStaffDetailProvider {
    private getDetailUrl='/recruit/target/v1/';
    constructor(public http: HttpClient) {

    }

    // 查询或获取跟进列表
    getProgressList(item,notLoading=0):Observable<any>{
        return this.http.get(`/note/v1/timeLine`,{params:item})
    }
    // 获取增员详情
    getStaffDetail(id,notLoading=0):Observable<any>{
        return this.http.get(this.getDetailUrl+id);

    }
}
